/**
 * 日志记录实例
 * 
 * @author bian
 * @createDate 2016.8.20
 *
 * @example
 * logger.error("error");
 */
const log4js = require('log4js')
log4js.configure({
    appenders : [
        {type : 'console'},
        { type : 'file', filename : "IMooc.log"}
    ]
});
var logger = log4js.getLogger('xueban3');
logger.setLevel('ERROR');
module.exports = logger
